#include "BTEProject.h"
#include "PackDefine.h"

void RunTest()
{
	//record test
	BTEProject project;	
	project.deviceData("1");
	project.deviceData("3");
	project.deviceData("3");
	project.deviceData("4");	

	QStringList deviceList = project.deviceList();
	Q_ASSERT(deviceList.size() == 3);

	Q_ASSERT(deviceList.contains("1"));
	Q_ASSERT(!deviceList.contains("5"));
	
}